tools/dombuilder: Remove PV-only, mandatory hooks
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Dec 2019 17:08:22 +0000 (17:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Jan 2020 12:46:03 +0000 (12:46 +0000)
commitf8218e4792cc092845ce24d10630cd87100e59a2
tree841322237ead83a21aec54831a760cd822cf6af8
parentee21f10d7056d01b8a54f9e74ccfeae8440ea0c8
tools/dombuilder: Remove PV-only, mandatory hooks

Currently, the setup_pgtable() hook is optional, but alloc_pgtable() hook is
not.  Both are specific to x86 PV guests, and stubbed in various ways by the
dombuilders for translated guests (x86 HVM, ARM).

Make alloc_pgtables() optional, and drop all the stubs for translated guest
types.

No change in the constructed guests.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
Acked-by: Julien Grall <julien@xen.org>
tools/libxc/include/xc_dom.h
tools/libxc/xc_dom_arm.c
tools/libxc/xc_dom_boot.c
tools/libxc/xc_dom_core.c
tools/libxc/xc_dom_x86.c